﻿using System;
using System.Data;
using KPIS.GERP.GFMS.MODEL;
using System.Collections.Generic;

namespace KPIS.GERP.GFMS.IDAL
{
    public interface IDAL_FIM_MoneyReturns
    {
        IList<M_FIM_MoneyReturns> GetFull(Nullable<int> bgm_source_seq
            , Nullable<int> bgm_year, Nullable<int> work_area_seq
            , Nullable<int> contact_person_seq, Nullable<int> emp_seq, Nullable<int> money_req_seq, bool bIsFinance);
        IList<M_FIM_MoneyReturns> GetList(Nullable<int> bgm_source_seq
            , Nullable<int> bgm_year, Nullable<int> work_area_seq
            , Nullable<int> contact_person_seq, Nullable<int> emp_seq, string filter);
        M_FIM_MoneyReturns GetInfo(int seq);
        //string SelectRecentInsertedRoleSeq();

        string Insert(M_FIM_MoneyReturns info);
        void Update(M_FIM_MoneyReturns info);
        void ChangeStatus(int return_seq, string record_status, int emp_seq);
        void Delete(M_FIM_MoneyReturns info);
        void UpdateGlTranSeq(M_FIM_MoneyReturns info);
        DataTable LoadMoneyReq();
        DataTable LoadContact(Nullable<int> money_req_seq);
        DataTable GetReturnsFromMoneyReqSeq(int money_req_seq);
    }
}
